package com.samsungmobile.common_module.Bean;

/**
 * Class for the parsed XML result of the SendMTM API
 * 
 * @author ahapp (May, 2010)
 *
 */
public class SendMTMResult {

	/**
	 * This is the unique id of the response
	 */
	private String responseId = "";
	
	/**
	 * Unique message id of the sending service
	 */
	private String messageId = "";
	
	/**
	 * Numeric response code of the SendMTM API
	 */
	private int responseCode = -1;
	
	/**
	 * Response message of the SendMTM API
	 * (example: SUCCESS)
	 * 
	 */
	private String responseMessage = "";
	
	
	public String getResponseId() {
		return responseId;
	}
	public void setResponseId(String responseId) {
		this.responseId = responseId;
	}
	public String getMessageId() {
		return messageId;
	}
	public void setMessageId(String messageId) {
		this.messageId = messageId;
	}
	public int getResponseCode() {
		return responseCode;
	}
	public void setResponseCode(int responseCode) {
		this.responseCode = responseCode;
	}
	public String getResponseMessage() {
		return responseMessage;
	}
	public void setResponseMessage(String responseMessage) {
		this.responseMessage = responseMessage;
	}
	
	@Override
	public String toString() {
		String s = "responseId = " + this.responseId + " | "
			+ "messageId = " + messageId.toString() + " | "
			+ "responseCode = " + responseCode + " | "
			+ "responseMessage = " + responseMessage + " | ";
		
		return s;
	}
}
